/* jshint esversion: 6 */
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import axios from 'axios';
import store from './vuex/Store';

Vue.config.productionTip = false;
//给Vue注册一个全局变量
Vue.prototype.$http = axios;

var devUrl = "http://192.168.2.142:3000"; //开发环境使用的url地址
var proUrl = ""; //生产环境使用的url地址
Vue.prototype.$baseUrl = devUrl;
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  template: '<App/>',
  components: { App }
});
